import { createWebHashHistory, createRouter } from 'vue-router'

import dataGreen from "../views/dataGreen.vue";

const routes = [
    { path: '/', component: dataGreen },
]

const router = createRouter({
    //路由数据
    routes,
    //路由模式
    history: createWebHashHistory(),
});
export default router;
